<!DOCTYPE html>
<html lang="en">

<head>
    <title>巡检项目</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="../css/global.css" rel="stylesheet">
    <link rel="stylesheet" href="../css/patrolHomePage.css">
    <link rel="stylesheet" href="../css/iconfont/iconfont.css">
    <script src="../js/vue.js"></script>
    <script src="../js/axios.js"></script>
    <link rel="stylesheet" href="../css/nutui/dist/nutui.css">
    <script src="../css/nutui/dist/nutui.js"></script>
    <script src="../js/jquery.min.js"></script>
</head>

<body>
    <div id="app">
        <div class="app_header">
            <div class="app_headerLeft" @click="back">
                <span class="iconfont icon-arrow-left-bold"></span>
            </div>
            <div class="app_headerTitle">巡检项目</div>
        </div>
        <div class="app_main">
            <div class="app_mainItem" v-for="(item,index) in answerList">
                <div class="title"><span>{{item.number}}</span>{{item.title}}</div>
                <div class="check">
                    <nut-checkbox v-model="item.isCheck"><span :class="[item.isCheck == true?'active':'']">完成</span>
                    </nut-checkbox>
                </div>
            </div>
            <nut-button block>确定</nut-button>
        </div>
    </div>
    <script>
        var vm = new Vue({
            el: '#app',
            data: {
                answerList: [
                    { number: '01', title: "检查使用环境是否异常、周围或柜内是否存在异物干扰。", isCheck: false },
                    { number: '02', title: "检查设备是否出现异常过热、变色、焦痕、气味。", isCheck: false },
                    { number: '03', title: "检查使用设备是否存在异常震动、异常声音。", isCheck: false },
                    { number: '04', title: "检查使用设备面板指示灯是否正常指示", isCheck: false },
                    { number: '05', title: "检查使用设备环境是否异常、周围或柜内是否存在异物干扰。", isCheck: false },
                ]
            },
            mounted() { },
            methods: {
                back() {
                    window.history.go(-1)
                }
            }
        })
    </script>
</body>

</html>